Skip to content

Fix build: remove extra argument in extract_tickets_from_keyring() call - #3

Open
andreix341 wants to merge 1 commit into
TarlogicSecurity:masterfrom
andreix341:master
Open

Fix build: remove extra argument in extract_tickets_from_keyring() call#3
andreix341 wants to merge 1 commit into
TarlogicSecurity:masterfrom
andreix341:master

Conversation

@andreix341

Copy link
Copy Markdown

Issue:
make CONF=Release

"make" -f nbproject/Makefile-Release.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory '/opt/tickey/tickey'
"make" -f nbproject/Makefile-Release.mk dist/Release/GNU-Linux-x86/tickey
make[2]: Entering directory '/opt/tickey/tickey'
mkdir -p build/Release/GNU-Linux-x86
rm -f "build/Release/GNU-Linux-x86/main.o.d"
gcc -c -O2 -Wall -MMD -MP -MF "build/Release/GNU-Linux-x86/main.o.d" -o build/Release/GNU-Linux-x86/main.o main.c
main.c: In function ‘main’:
main.c:69:17: error: too many arguments to function ‘extract_tickets_from_keyring’; expected 0, have 1
69 | extract_tickets_from_keyring(ccache_info);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~
main.c:19:6: note: declared here
19 | void extract_tickets_from_keyring();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [nbproject/Makefile-Release.mk:93: build/Release/GNU-Linux-x86/main.o] Error 1
make[2]: Leaving directory '/opt/tickey/tickey'
make[1]: *** [nbproject/Makefile-Release.mk:69: .build-conf] Error 2
make[1]: Leaving directory '/opt/tickey/tickey'
make: *** [nbproject/Makefile-impl.mk:40: .build-impl] Error 2

Solution:

  1. change include <bits/signum.h> with #include <signal.h>
  2. remove ccache_info from extract_tickets_from_keyring(ccache_info);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant